<div class="runs view">
<h2><?php  __('Run');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $run['Run']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Fileid'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $run['Run']['fileid']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Batchid'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $run['Run']['batchid']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Run', true), array('action' => 'edit', $run['Run']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Run', true), array('action' => 'delete', $run['Run']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $run['Run']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Runs', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Run', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Runshasmacs', true), array('controller' => 'runshasmacs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Runshasmac', true), array('controller' => 'runshasmacs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Runshasstatusruns', true), array('controller' => 'runshasstatusruns', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Runshasstatusrun', true), array('controller' => 'runshasstatusruns', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Weborders', true), array('controller' => 'weborders', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Weborder', true), array('controller' => 'weborders', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Runshasmacs');?></h3>
	<?php if (!empty($run['Runshasmac'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Run Id'); ?></th>
		<th><?php __('Mac Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($run['Runshasmac'] as $runshasmac):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $runshasmac['id'];?></td>
			<td><?php echo $runshasmac['run_id'];?></td>
			<td><?php echo $runshasmac['mac_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'runshasmacs', 'action' => 'view', $runshasmac['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'runshasmacs', 'action' => 'edit', $runshasmac['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'runshasmacs', 'action' => 'delete', $runshasmac['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $runshasmac['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Runshasmac', true), array('controller' => 'runshasmacs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Runshasstatusruns');?></h3>
	<?php if (!empty($run['Runshasstatusrun'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Run Id'); ?></th>
		<th><?php __('Statusrun Id'); ?></th>
		<th><?php __('Date'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($run['Runshasstatusrun'] as $runshasstatusrun):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $runshasstatusrun['id'];?></td>
			<td><?php echo $runshasstatusrun['run_id'];?></td>
			<td><?php echo $runshasstatusrun['statusrun_id'];?></td>
			<td><?php echo $runshasstatusrun['date'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'runshasstatusruns', 'action' => 'view', $runshasstatusrun['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'runshasstatusruns', 'action' => 'edit', $runshasstatusrun['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'runshasstatusruns', 'action' => 'delete', $runshasstatusrun['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $runshasstatusrun['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Runshasstatusrun', true), array('controller' => 'runshasstatusruns', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Weborders');?></h3>
	<?php if (!empty($run['Weborder'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Weborderid'); ?></th>
		<th><?php __('Run Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($run['Weborder'] as $weborder):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $weborder['id'];?></td>
			<td><?php echo $weborder['weborderid'];?></td>
			<td><?php echo $weborder['run_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'weborders', 'action' => 'view', $weborder['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'weborders', 'action' => 'edit', $weborder['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'weborders', 'action' => 'delete', $weborder['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $weborder['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Weborder', true), array('controller' => 'weborders', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
